home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #5
/
Amiga Plus CD - 1996 - No. 5.iso
/
pd
/
grafik
/
jacosub
/
rexx
/
begintime.jsrx
< prev
next >
Wrap
Text File
|
1994-01-07
|
533b
|
20 lines
/* JACOsub BEGINTIME command demonstration.
This command changes the begin time for playing a script.
BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
string had a bad format, or 2 if there was a resolution conflict.
*/
if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
parse arg starttime secunits .
options results
address 'JACOsub'
'BEGINTIME' starttime secunits
if result > 0 then
say 'error setting begin time'
else
say 'begin time set successfully'
exit result